package com.jack.blog.service;

import com.jack.blog.vo.BlogVo;
import com.jack.blog.vo.MessageVo;

import java.util.List;
import java.util.Map;

public interface MessageService {

    List<MessageVo> getMessagesByBid(int bid);
    Map<BlogVo, List<MessageVo>> getMessagesByUid(int uid, boolean reply);
    MessageVo addMessage(int blogId, MessageVo message);
    void replyMessage(int id, String content)throws Exception;

}
